package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Getter
@Setter
@Table(name = "T_MM_PurchaseOrderDetail")
public class PurchaseOrderInfo extends BaseEntity {
    @Column(name = "Po",columnDefinition = "VARCHAR(50) COMMENT '采购订单' null")
    private String po;

    @Column(name = "PoItem",columnDefinition = "VARCHAR(50) COMMENT '行号' null")
    private String poItem;

    @Column(name = "MaterialName",columnDefinition = "VARCHAR(50) COMMENT '物料名称' null")
    private String materialName;

    @Column(name = "MaterialCode",columnDefinition = "VARCHAR(50) COMMENT '物料编码' null")
    private String materialCode;

    @Column(name = "Brand",columnDefinition = "VARCHAR(50) COMMENT '品牌' null")
    private String brand;

    @Column(name = "PlanQty",columnDefinition = "FLOAT COMMENT '计划入库数量' null")
    private float planQty;

    @Column(name = "ReceivedQty",columnDefinition = "FLOAT COMMENT '已入库数量' null")
    private float receivedQty;

    @Column(name = "PlanArrivedDate",columnDefinition = "Date COMMENT '计划到货时间' null")
    private Date planArrivedDate;

    @Column(name = "ActualArrivedDate",columnDefinition = "Date COMMENT '实际到货时间' null")
    private Date actualArrivedDate;

    @Column(name = "Purchaser",columnDefinition = "VARCHAR(50) COMMENT '采购员' null")
    private String purchaser;

    @Column(name = "Projec_code",columnDefinition = "VARCHAR(50) COMMENT '项目编码' null")
    private String projecCode;
}
